import http from "@/common/http/interface";
import {
  mapGetters,
  mapActions
} from 'vuex';
let httpUrl = http.config.baseUrl + 'api/v1/'
export default {
  // 疾病列表
  // 文档地址：https://www.showdoc.com.cn/799517136031066/8197133021442733
  getDisease: data => {
    return http.request({
      url: httpUrl + "disease/get.disease",
      method: "get",
      data
    });
  },
  // 各个二级菜单的页面详情
  // 文档地址：https://www.showdoc.com.cn/799517136031066/8234437204131540
  getArticle: data => {
    let menu_id = data.menu_id
    return http.request({
      url: httpUrl + "article/get.article/"+menu_id,
      method: "get",
      data
    });
  },
}
